package com.chengxusheji.po;

 
import org.hibernate.validator.constraints.NotEmpty;

 
public class Admin {
	
	@NotEmpty(message="用户名不能是空")  
	private String username;
	
	@NotEmpty(message="登陆密码不能是空") 
	private String password;
	public String getPassword() {
		return password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String name) {
		this.username = name;
	}
	
	public void setPassword(String pwd) {
		this.password = pwd;
	}
	
}
